package main

import (
	"fmt"
)

func main() {
	a := 10
	f := func() int { a = a * 2; return 5 }
	x := []int{a, f()}
	fmt.Print(x)
	fmt.Print(12E+2) //12乘以10的2次方
	fmt.Print(12E-3) //12除以10的3次方
	// var list string = "song"
	// array1 := []int{1, 2, 3, 4, 5}
	// fmt.Print(array1[1:3:5])
	// fmt.Print([]string{"g", "o", "l", "a", "n", "g"}[1:5])
	// fmt.Println([]int{1, 2, 3, 4, 5}[1+1])
	// fmt.Printf("Hello  World " + list + "\n")
	fmt.Print(interface{}(123).(int))

}
